package com.cloudpark.common.util;

public class BaseEntity extends Pagination {

    private Long adminId;
    private Long estateId;

    
    public void initPageParams() {
        this.setTotalPages();
        this.setStartIndex();
        this.setLastIndex();
    }
    
    /**
     * @return the adminId
     */
    public Long getAdminId() {
        return adminId;
    }

    /**
     * @param adminId
     *            the adminId to set
     */
    public void setAdminId(Long adminId) {
        this.adminId = adminId;
    }

    public Long getEstateId() {
        return estateId;
    }

    public void setEstateId(Long estateId) {
        this.estateId = estateId;
    }
}
